package pack0714.cn;

public class Test {
    public static void main(String[] args) {


        Person p1 = new Person();
        Person p2 = new Person();

        MyRun my = new MyRun(p1, p2);
        Thread t = new Thread(my);
        t.setName("t");

        Thread t1=new Thread(my);
        t1.setName("t1");

        t.start();
        t1.start();

    }
}
